/**
 * Copyright (C), 2021, 中电福富信息科技有限公司
 * FileName: UserTenancyVm
 * Author:   xujiajun
 * Date:     2021/3/10 9:51
 */
package com.example.demo.web.rest.vm;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.example.demo.client.vm.cssmqry.user.DetailUserVm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Description:
 * @Author xujiajun
 * @Date 2021/3/10  9:51
 */
@ApiModel("用户租户对象")
public class UserTenancyVm extends DetailUserVm implements Serializable {

    /**
     * 租户编码
     */
    @ApiModelProperty(name = "tenancy_code" )
    private String tenancyCode;

    /**
     * 租户名称
     */
    @ApiModelProperty(name = "tenancy_name" )
    private String tenancyName;

    /**
     * 租户描述
     */
    @ApiModelProperty(name = "tenancy_desc" )
    private String tenancyDesc;

    /**
     * 公司logo地址
     */
    @ApiModelProperty(name = "logo" )
    private String logo;

    /**
     * 状态：1：有效 0：无效
     */
    @ApiModelProperty(name = "status" )
    private int status;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "create_user_name" )
    private String createUserName;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "create_time" )
    @JsonFormat
    private Date createTime;

    /**
     * 最后修改人
     */
    @ApiModelProperty(name = "last_update_user_name" )
    private String lastUpdateUserName;

    /**
     * 最后修改时间
     */
    @ApiModelProperty(name = "last_update_time" )
    @JsonFormat
    private Date lastUpdateTime;

    /**
     * 街道楼号地址
     */
    @ApiModelProperty(name = "street_address" )
    private String streetAddress;

    /**
     * 一级行政单位,如广东省,上海市等
     */
    @ApiModelProperty(name = "province" )
    private String province;

    /**
     * 城市, 如广州市,佛山市等
     */
    @ApiModelProperty(name = "city" )
    private String city;

    /**
     * 行政区,如番禺区,天河区等
     */
    @ApiModelProperty(name = "district" )
    private String district;

    /**
     * 联系人
     */
    @ApiModelProperty(name = "link_man" )
    private String linkMan;

    /**
     * 联系电话
     */
    @ApiModelProperty(name = "link_phone" )
    private String linkPhone;

    /**
     * 经度
     */
    @ApiModelProperty(name = "longitude" )
    private String longitude;

    /**
     * 纬度
     */
    @ApiModelProperty(name = "latitude" )
    private String latitude;

    /**
     * 区域编码,用于通过区域id快速匹配后展示, 如广州是440100
     */
    @ApiModelProperty(name = "adcode" )
    private String adcode;

    public String getTenancyCode() {
        return tenancyCode;
    }

    public void setTenancyCode(String tenancyCode) {
        this.tenancyCode = tenancyCode;
    }

    public String getTenancyName() {
        return tenancyName;
    }

    public void setTenancyName(String tenancyName) {
        this.tenancyName = tenancyName;
    }

    public String getTenancyDesc() {
        return tenancyDesc;
    }

    public void setTenancyDesc(String tenancyDesc) {
        this.tenancyDesc = tenancyDesc;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }


    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getStreetAddress() {
        return streetAddress;
    }

    public void setStreetAddress(String streetAddress) {
        this.streetAddress = streetAddress;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    public String getLinkPhone() {
        return linkPhone;
    }

    public void setLinkPhone(String linkPhone) {
        this.linkPhone = linkPhone;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getAdcode() {
        return adcode;
    }

    public void setAdcode(String adcode) {
        this.adcode = adcode;
    }

    @Override
    public String toString() {
        return "UserTenancyVm{" +
                "tenancyCode='" + tenancyCode + '\'' +
                ", tenancyName='" + tenancyName + '\'' +
                ", tenancyDesc='" + tenancyDesc + '\'' +
                ", logo='" + logo + '\'' +
                ", status=" + status +
                ", createUserName='" + createUserName + '\'' +
                ", createTime=" + createTime +
                ", lastUpdateUserName='" + lastUpdateUserName + '\'' +
                ", lastUpdateTime=" + lastUpdateTime +
                ", streetAddress='" + streetAddress + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", linkMan='" + linkMan + '\'' +
                ", linkPhone='" + linkPhone + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", adcode='" + adcode + '\'' +
                '}';
    }
}